-- GENERATED SPELL FOR [Raze] --


function spell0_8441(pUnit, Event) --6Conjure Staff of Command,n/a--
pUnit:FullCastSpellOnTarget(15539,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8441', 0, 1)
end

function Sorts_8441(pUnit, Event)
local choix_sorts_8441 = math.random(0, 0)
if choix_sorts_8441 == 0 then
pUnit:RegisterEvent('spell0_8441', 1, 1)
end
end

function mob8441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8441', math.random(1500, 3000), 1)
end

function mob8441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8441, 1, 'mob8441_Action')
RegisterUnitEvent(8441, 2, 'mob8441_Leave')
RegisterUnitEvent(8441, 3, 'mob8441_Kill')
RegisterUnitEvent(8441, 4, 'mob8441_Die')
